%h2 Edit Setting

= error_messages_for :setting

- form_for @setting, :url => setting_url(@setting) do |f|
  = render :partial => 'setting_fields', :locals => { :f => f }
  = f.submit('Update setting', :class => 'button')
  or
  = link_to("cancel", "/")
